package com.example.service;

import com.example.pojo.GdUser;

/**
 * Created by shang-pc on 2015/11/7.
 */
public interface RpcLoginService {

    public GdUser getGdUserById(String id)throws Exception;

    public GdUser findByUserCode(String userCode) throws Exception;

    public GdUser login(String name, String password) throws Exception;

    public GdUser getCurrentUser(String tokenString) throws Exception;
}
